#pragma once
class CFrustum
{
public:
	CFrustum(void);
	~CFrustum(void);
	void CalculateFrustum( const D3DXMATRIX * view, const D3DXMATRIX  *projection);
	bool Cull(BoundingBox *  bBox);
	bool Cull(BoundingSphere * bSphere);
private:
	D3DXPLANE m_frustum[6];
};

